package com.whw.fy.service;

import com.whw.fy.entity.Message;
import com.whw.fy.entity.Student;
import com.whw.fy.entity.TrainingInstitutionRecords;

import java.text.ParseException;
import java.util.List;

public interface StudentService {


    Message deleteByPrimaryKey(Integer studentId);

    Message insert(Student record);

    Message insertSelective(Student record);

    Message selectByPrimaryKey(Integer studentId);

    Message updateByPrimaryKeySelective(Student record) throws ParseException;

    Message updateByPrimaryKey(Student record);

    Message selectAll();

    Message selectStudentNameAndAdd();

    Message parentinsert(Student student) throws ParseException;

    Message selectStudentNameAndAddByParentId(int parentId);

    Message selectStudentNameAndAddByClassId(int ClassId);

    int batchInsert(List<Student> list);

    Message selectPurchaseAndEmergencyByStudentId(int studentId);

    Message selectCommentByStudentId(int studentId);

    Message newAdd(Student record, List<TrainingInstitutionRecords> list);

    Message newUpdate(Student student, String list);

    Message insertStudentTreat(Student student);

    Message selectallByTeacherIdJurisdictionEight(int staffId);

    int updateBatch(List<Student> list);

    int updateBatchSelective(List<Student> list);

    Message selectallByMedicalDirectorIdJurisdictionZero(int staffId);

    Message selectallByprincipalTeacherJurisdictionSeven(int staffId);

    Message selectallByTeachingDirectorJurisdictionSix(int staffId);
}








